/********************************************************************************
** Form generated from reading UI file 'InventoryWidget.ui'
**
** Created: Fri Jan 20 08:48:13 2012
**      by: Qt User Interface Compiler version 4.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_INVENTORYWIDGET_H
#define UI_INVENTORYWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QTreeView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_InventoryWidget
{
public:
    QVBoxLayout *mainLayout;
    QHBoxLayout *inputLayout;
    QLabel *itemLabel;
    QLineEdit *itemBox;
    QLabel *fromLabel;
    QSpinBox *fromBox;
    QLabel *toLabel;
    QSpinBox *toBox;
    QSpacerItem *spacer;
    QPushButton *addButton;
    QPushButton *removeButton;
    QTreeView *itemView;

    void setupUi(QWidget *InventoryWidget)
    {
        if (InventoryWidget->objectName().isEmpty())
            InventoryWidget->setObjectName(QString::fromUtf8("InventoryWidget"));
        InventoryWidget->resize(640, 480);
        mainLayout = new QVBoxLayout(InventoryWidget);
        mainLayout->setObjectName(QString::fromUtf8("mainLayout"));
        inputLayout = new QHBoxLayout();
        inputLayout->setObjectName(QString::fromUtf8("inputLayout"));
        itemLabel = new QLabel(InventoryWidget);
        itemLabel->setObjectName(QString::fromUtf8("itemLabel"));

        inputLayout->addWidget(itemLabel);

        itemBox = new QLineEdit(InventoryWidget);
        itemBox->setObjectName(QString::fromUtf8("itemBox"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(itemBox->sizePolicy().hasHeightForWidth());
        itemBox->setSizePolicy(sizePolicy);

        inputLayout->addWidget(itemBox);

        fromLabel = new QLabel(InventoryWidget);
        fromLabel->setObjectName(QString::fromUtf8("fromLabel"));

        inputLayout->addWidget(fromLabel);

        fromBox = new QSpinBox(InventoryWidget);
        fromBox->setObjectName(QString::fromUtf8("fromBox"));
        fromBox->setMinimum(1);

        inputLayout->addWidget(fromBox);

        toLabel = new QLabel(InventoryWidget);
        toLabel->setObjectName(QString::fromUtf8("toLabel"));

        inputLayout->addWidget(toLabel);

        toBox = new QSpinBox(InventoryWidget);
        toBox->setObjectName(QString::fromUtf8("toBox"));
        toBox->setMinimum(1);

        inputLayout->addWidget(toBox);

        spacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        inputLayout->addItem(spacer);

        addButton = new QPushButton(InventoryWidget);
        addButton->setObjectName(QString::fromUtf8("addButton"));
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/Inventory/Add.png"), QSize(), QIcon::Normal, QIcon::Off);
        addButton->setIcon(icon);
        addButton->setAutoDefault(true);

        inputLayout->addWidget(addButton);

        removeButton = new QPushButton(InventoryWidget);
        removeButton->setObjectName(QString::fromUtf8("removeButton"));
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/Inventory/Remove.png"), QSize(), QIcon::Normal, QIcon::Off);
        removeButton->setIcon(icon1);
        removeButton->setAutoDefault(true);

        inputLayout->addWidget(removeButton);


        mainLayout->addLayout(inputLayout);

        itemView = new QTreeView(InventoryWidget);
        itemView->setObjectName(QString::fromUtf8("itemView"));
        itemView->setSelectionMode(QAbstractItemView::ExtendedSelection);
        itemView->setSortingEnabled(true);

        mainLayout->addWidget(itemView);


        retranslateUi(InventoryWidget);
        QObject::connect(fromBox, SIGNAL(valueChanged(int)), InventoryWidget, SLOT(fromValueChanged()));
        QObject::connect(toBox, SIGNAL(valueChanged(int)), InventoryWidget, SLOT(toValueChanged()));
        QObject::connect(addButton, SIGNAL(clicked()), InventoryWidget, SLOT(addItems()));
        QObject::connect(removeButton, SIGNAL(clicked()), InventoryWidget, SLOT(removeItems()));

        QMetaObject::connectSlotsByName(InventoryWidget);
    } // setupUi

    void retranslateUi(QWidget *InventoryWidget)
    {
        InventoryWidget->setWindowTitle(QApplication::translate("InventoryWidget", "Form", 0, QApplication::UnicodeUTF8));
        itemLabel->setText(QApplication::translate("InventoryWidget", "Item:", 0, QApplication::UnicodeUTF8));
        fromLabel->setText(QApplication::translate("InventoryWidget", "From:", 0, QApplication::UnicodeUTF8));
        toLabel->setText(QApplication::translate("InventoryWidget", "To:", 0, QApplication::UnicodeUTF8));
        addButton->setText(QString());
        removeButton->setText(QString());
        removeButton->setShortcut(QApplication::translate("InventoryWidget", "Del", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class InventoryWidget: public Ui_InventoryWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_INVENTORYWIDGET_H
